package com.example.chatweb.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.chatweb.entity.EntityRelation;
import com.example.chatweb.service.EntityRelationService;
import com.example.chatweb.mapper.EntityRelationMapper;
import org.springframework.stereotype.Service;

/**
* @author LENOVO
* @description 针对表【entity_relation(实体关系表)】的数据库操作Service实现
* @createDate 2024-05-29 16:31:55
*/
@Service
public class EntityRelationServiceImpl extends ServiceImpl<EntityRelationMapper, EntityRelation>
    implements EntityRelationService{
    public boolean deleteEntityRelationById(String id) {
        return this.removeById(id);
    }
    public boolean saveEntityRelation(EntityRelation entityRelation) {
        return this.save(entityRelation);
    }
}




